<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>iframe内嵌框架</title>
</head>
<body>
    <h1>iframe内嵌框架</h1>

    <h2>嵌入网页</h2>
    <iframe
    src="https://www.baidu.com"
    frameborder="0"
    width="800"
    height="600"
    scrolling="yes"
    name="myiframe"
    loading="lazy"
    title="百度"
    ></iframe>

    <h2>嵌入图片</h2>
    <iframe 
    src="./images/kele.jpg" 
    frameborder="0"
    width="400"
    height="300"
    ></iframe>

    <h2>嵌入视频</h2>
    <iframe src="./files/kuaishou.avi" frameborder="0"></iframe>

    <h2>嵌入地图</h2>
    <iframe 
    width="600"
    height="600"
    src="https://j.map.baidu.com/dc/SrK" frameborder="0"></iframe>

    <h2>嵌入广告</h2>
    <iframe 
    width="600"
    height="600"
    src="https://www.bing.com/aclick" 
    frameborder="0"
    width="800"
    height="600"
    sandbox="allow-scripts allow-same-origin"
    title="广告"
    ></iframe>
</body>
</html>